Adwaita: spinbutton button hover visible on the dark variant
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Jul 2014 15:53:31 +0000 (17:53 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Jul 2014 15:53:31 +0000 (17:53 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 0d455012b71116e5274fe00f9b24f46c32daf25c..67b9af058da2ca6461c885cd8189419bf3c026b4 100644 (file)
@@ -246,6 +246,12 @@ GtkLabel {
       &:selected:backdrop { color: $backdrop_base_color; }
     }
   }
+  &.image { // entry icons colors
+    color: mix($fg_color,$base_color,80%);
+    &:hover { color: $fg_color; }
+    &:active { color: $selected_bg_color; }
+    &:backdrop { color: mix($backdrop_fg_color,$backdrop_base_color,80%); }
+  }
 }
 
 /***********
@@ -607,7 +613,7 @@ GtkColorButton.button {
     &:dir(rtl) { border-width: 0 1px 0 0; }
     &:hover {
       color: $fg_color;
-      background-color: transparentize(black,0.95);
+      background-color: transparentize($fg_color,0.95);
     }
     &:insensitive {
       color: transparentize($insensitive_fg_color,0.7);
index be91f42dc165bb771606acafd4c7a867782e0aa4..d461b5ab8c2060c4c697fdfd6ef48c98eb77fbb5 100644 (file)
       color: #292929; }
     .entry.warning:selected:backdrop {
       color: #2c2c2c; }
+  .entry.image {
+    color: #c6c6c5; }
+    .entry.image:hover {
+      color: #eeeeec; }
+    .entry.image:active {
+      color: #215d9c; }
+    .entry.image:backdrop {
+      color: #a9aba9; }
 
 /***********
  * Buttons *
@@ -702,7 +710,7 @@ GtkColorButton.button {
       border-width: 0 1px 0 0; }
     .spinbutton .button:hover {
       color: #eeeeec;
-      background-color: rgba(0, 0, 0, 0.05); }
+      background-color: rgba(238, 238, 236, 0.05); }
     .spinbutton .button:insensitive {
       color: rgba(147, 150, 149, 0.3); }
     .spinbutton .button:active {
index b04a1d7723b6610a57989e4539b72f209da9e631..154a96c6c98a59fb326665a2e85c2e0c11b805bc 100644 (file)
       box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #fde4cc, 0 1px white; }
     .entry.warning:selected, .entry.warning:selected:focus {
       background-color: #f57900; }
+  .entry.image {
+    color: #575c5e; }
+    .entry.image:hover {
+      color: #2e3436; }
+    .entry.image:active {
+      color: #4a90d9; }
+    .entry.image:backdrop {
+      color: #75797a; }
 
 /***********
  * Buttons *
@@ -694,7 +702,7 @@ GtkColorButton.button {
       border-width: 0 1px 0 0; }
     .spinbutton .button:hover {
       color: #2e3436;
-      background-color: rgba(0, 0, 0, 0.05); }
+      background-color: rgba(46, 52, 54, 0.05); }
     .spinbutton .button:insensitive {
       color: rgba(141, 144, 145, 0.3); }
     .spinbutton .button:active {